package cn.px.dao.mapper.workplace;

import cn.px.dao.config.MyMapper;
import cn.px.dao.dto.workplace.WorkplaceBacklogUserDTO;
import cn.px.dao.entity.workplace.WorkplaceBacklogUser;
import cn.px.dao.vo.query.workplace.WorkplaceBacklogUserVO;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * @Description 待办事项用户 mapper
 * @author 品讯科技
 * @date 2024-08
 * @Version Copyright (c) 2019,北京乾元坤和科技有限公司 All rights reserved.
 */
@Component
public interface WorkplaceBacklogUserMapper extends MyMapper<WorkplaceBacklogUser> {
    /**
     * 查询指定用户的待办消息
     *
     * @param model ：
     * @return ：
     */
    List<WorkplaceBacklogUserVO> selectByUser(WorkplaceBacklogUserDTO model);


    /**
     * 查询指定用户的待办消息
     *
     * @param model ：
     * @return ：
     */
    WorkplaceBacklogUserVO selectUserById(WorkplaceBacklogUserDTO model);

    void updateByUser(WorkplaceBacklogUserDTO model);
}
